#ifndef __CLIENT_H_
#define __CLIENT_H_

int do_admin_login(int socketfd, USER *user);
int do_user_login(int socketfd, USER *user);
void do_admin_query(int socketfd, USER *user);
void do_admin_update(int socketfd, USER *user);
void do_admin_adduser(int socketfd, USER *user);
void do_admin_deluser(int socketfd, USER *user);
void do_query_and_update_myself(int socketfd, USER *user);
void do_query_myself(int socketfd, USER *user);
void do_query_others(int socketfd, USER *user);
void do_update_myself(int socketfd, USER *user);
void do_query_and_update_myself(int socketfd, USER *user);      

#endif
